﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PaginaMaestra.Master" AutoEventWireup="true" CodeBehind="Horarios.aspx.cs" Inherits="ProyectoCine.AreaPrivada.Horarios" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style13
        {
            width: 149px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contenido" runat="server">
    <asp:Panel ID="Panel1" runat="server" ForeColor="Red" GroupingText="Horarios" 
        Height="443px" Font-Bold="True">
        <table class="style1" style="height: 45px">
            <tr>
                <td class="style13">
                    <asp:Label ID="Label9" runat="server" ForeColor="Red" Text="Dia de la Semana" 
                        Font-Bold="True"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlDiaSemana" runat="server">
                        <asp:ListItem Value="0">Dias de la Semana</asp:ListItem>
                        <asp:ListItem>Lunes</asp:ListItem>
                        <asp:ListItem>Martes</asp:ListItem>
                        <asp:ListItem>Miércoles</asp:ListItem>
                        <asp:ListItem>Jueves</asp:ListItem>
                        <asp:ListItem>Viernes</asp:ListItem>
                        <asp:ListItem>Sabado</asp:ListItem>
                        <asp:ListItem>Domingo</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="style13">
                    <asp:Button ID="btnBuscar" runat="server" onclick="btnBuscar_Click" 
                        Text="Buscar" />
                </td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
        <asp:GridView ID="gvHorarios" runat="server" AutoGenerateColumns="False" 
            onselectedindexchanged="gvHorarios_SelectedIndexChanged" 
            AllowPaging="True" onpageindexchanging="gvHorarios_PageIndexChanging" 
            AllowSorting="True" onsorting="gvHorarios_Sorting" BackColor="#DEBA84" 
            BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" 
            CellSpacing="2">
            <Columns>
                <asp:CommandField ShowSelectButton="True" />
                <asp:BoundField DataField="dia_Semana" HeaderText="Dia de la Semana" 
                    SortExpression="dia_Semana" />
                <asp:BoundField DataField="horario_Inicio" DataFormatString="{0:t}" 
                    HeaderText="Horario de Inicio" SortExpression="horario_Inicio" />
                <asp:BoundField DataField="horario_Fin" DataFormatString="{0:t}" 
                    HeaderText="Horario Fin" SortExpression="horario_Fin" />
            </Columns>
            <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
            <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
            <PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
            <RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
            <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#FFF1D4" />
            <SortedAscendingHeaderStyle BackColor="#B95C30" />
            <SortedDescendingCellStyle BackColor="#F1E5CE" />
            <SortedDescendingHeaderStyle BackColor="#93451F" />
        </asp:GridView>
    </asp:Panel>
</asp:Content>
